package com.springframework.sample.test.p1.ioc;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.springframework.sample.ASpringSample;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:spring/p1/ioc/sample-2-config-test.xml")
public class SampleTest2{

    @Resource
    private ASpringSample springSample;
    
    
    @Test
    public void doTest(){
        springSample.doTestSample();
    }
}